package com.website.system.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.website.system.dao.ComputerMapper;
import com.website.system.model.Computer;
import com.website.system.service.ComputerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public class ComputerServiceImpl extends ServiceImpl<ComputerMapper, Computer> implements ComputerService{


    @Autowired
    private  ComputerMapper mapper;

    @Override
    public void updateComputerStatus(Integer id, Integer status) {
         mapper.updateStatusById(id,status);
    }

}
